export default {
    bind (el, binding, vnode) {
        console.log(el, binding, vnode)
        console.log('node'+vnode.context)
        vnode.context.$root.$on('my-test', function(data){
            console.log(data)
        })
    },
    inserted(el, binding, vnode) {

    },
    update (el, binding, vnode, oldVnode) {

    },
    componentUpdated (el, binding, vnode, oldVnode) {

    },
    unbind(el, binding, vnode, oldVnode) {

    }
}